<include file="Index/header" />
<body>
<div id="wrapper">

  <include file="Index/nav"/>
  <div id="page-wrapper">

    <div class="container-fluid" >

      <!-- Page Heading -->
      <div class="row">
        <div class="col-lg-12">

          <ol class="breadcrumb">
            <li>
              <i class="fa fa-dashboard"></i>  <a href="/admin.php?c=nav">前端导航管理</a>
            </li>
            <li class="active">
              <i class="fa fa-table"></i>导航列表
            </li>
          </ol>
        </div>
      </div>
      <!-- /.row -->
      <div >
        <button  id="button-add" type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span>添加</button>
      </div>
      <div class="row">
        <form action="/admin.php" method="get">
          <input type="hidden" name="c" value="news"/>
          <input type="hidden" name="a" value="index"/>
        </form>
      </div>
      <div class="row">
        <div class="col-lg-6">
          <h3></h3>
          <div class="table-responsive">
            <form id="singcms-listorder">
              <table class="table table-bordered table-hover singcms-table">
                <thead>
                <tr>

                  <th>id</th>
                  <th>导航名称</th>
                  <th>链接模块</th>
                  <th>状态</th>
                  <th>操作</th>
                </tr>
                </thead>
                <tbody>
                     <volist name="navs" id="nav">
                            <tr>
                                <td>{$nav.nav_id}</td>
                                <td>{$nav.name}</td>
                                <td>{$nav.src}</td>
                                <td>{$nav.status|status}</td>
                                <td><span class="glyphicon glyphicon-edit" aria-hidden="true" id="singcms-edit" attr-id="{$menu.menu_id}"></span>    <a href="javascript:void(0)" attr-id="{$menu.menu_id}" id="singcms-delete"  attr-a="menu" attr-message="删除"><span class="glyphicon glyphicon-remove-circle" aria-hidden="true"></span></a></td>
                            </tr>
                        </volist>

                </tbody>
              </table>
              <nav>

              <ul >
                {$pageRes}
              </ul>

            </nav>

            </form>
            <div class="input-group">

            </div>

          </div>
        </div>

      </div>
      <!-- /.row -->



    </div>
    <!-- /.container-fluid -->

  </div>
  <!-- /#page-wrapper -->

</div>
<!-- /#wrapper -->
<script>
  var SCOPE = {
    'edit_url' : '/admin.php?c=news&a=edit',
    'add_url' : '/admin.php?c=nav&a=add',
    'set_status_url' : '/admin.php?c=news&a=setStatus',
    'sing_news_view_url' : '/index.php?c=view',
    'listorder_url' : '/admin.php?c=content&a=listorder',
    'push_url' : '/admin.php?c=content&a=push',
  }
</script>
<include file="Index/footer" />